﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace SampleBrowser.Web
{
    [ServiceContract]
    public interface IDocumentWcfService
    {
        /// <summary>
        /// Gets the specified part from given document.
        /// </summary>
        /// <param name="documentName">Name of the document.</param>
        /// <param name="partName">Name of the part.</param>
        /// <returns></returns>
        [OperationContract]
        byte[] GetDocumentPart(string documentName, string partName);
    }
}
